class Product < ActiveRecord::Base
	validates_uniqueness_of :name, :message => "prodotto gia' esistente!"
	validates_presence_of :name, :kind
  validates_inclusion_of :kind, :in => ["Pizza", "Drink"]
end
